import { request } from '@/utils'

export function getLoginLog(LogDTO) {
  return request({
    url: '/admin/getLoginLog',
    method: 'POST',
    data: JSON.stringify(LogDTO),
    headers: {
      'Content-type': 'application/json;charset=utf-8',
    },
  })
}

export function deleteLoginLog(id) {
  return request({
    url: '/admin/deleteLoginLog',
    method: 'POST',
    params: {
      id,
    },
  })
}
